package cate.game.event;

@FunctionalInterface
public interface GameEventListener<E extends GameEvent> {
    void onEvent(E gameEvent);

    default boolean isFailOnException(){return false;}

    default int getOrder(){return 0;}
}
